Drift tracking feedback for communication channels

ABSTRACT

A memory controller having a data receiver to sample data at a sample timing using a strobe signal, wherein the data and the strobe signal are sent by a memory device in connection with a read operation initiated by the memory controller, and a strobe receiver to receive the strobe signal, wherein a phase of the strobe signal has a drift relative to a reference by an amount. The memory controller further having a monitoring circuit to monitor the strobe signal and determine the amount of the drift, and an adjustment circuit to update the sample timing of the data receiver based on the amount of drift determined by the monitoring signal.

RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 15/616,795, filed on Jun. 7, 2017, which is a continuation of U.S. patent application Ser. No. 14/751,312, filed on Jun. 26, 2015, which is a continuation of U.S. patent application Ser. No. 13/949,101, filed Jul. 23, 2013, now U.S. Pat. No. 9,124,390, issued on Sep. 1, 2015, which is a continuation of U.S. patent application Ser. No. 12/619,076, filed Nov. 16, 2009, now U.S. Pat. No. 8,504,863, issued on Aug. 6, 2013, which is a continuation of U.S. patent application Ser. No. 11/744,006, filed May 3, 2007, now U.S. Pat. No. 7,640,448, issued on Dec. 29, 2009, which is a continuation of U.S. patent application Ser. No. 11/560,031, filed Nov. 15, 2006, now U.S. Pat. No. 7,526,664, issued on Apr. 28, 2009, which is a continuation of U.S. patent application Ser. No. 11/243,032, filed Oct. 4, 2005, U.S. Pat. No. 7,159,136, issued on Jan. 2, 2007, which is a continuation of U.S. patent application Ser. No. 10/802,634, filed Mar. 17, 2004, now U.S. Pat. No. 6,961,862, issued on Nov. 1, 2005, which are all hereby incorporated by reference in entirety.

BACKGROUND Field

The present invention relates to the calibration of communication channel parameters in systems, including mesochronous systems, in which two (or more) components communicate via an interconnection link; and to the calibration needed to account for drift of conditions related to such parameters during operation of the communication channels.

Description of Related Art

In high-speed communication channels, including channels which are operated in a mesochronous manner, a transmitter and receiver are each locked to a specific phase relative to some global reference clock. The phase values of the transmitter and receiver which minimize the bit-error-rate of the communication channel may be determined in a number of ways. However, once these phase values are set, offsets due to system conditions (such as temperature effects on the propagation time of the wires in the link) will cause the chosen phase values to become non-optimal. Other parameters of the communication channel also drift due to changing system conditions.

It is therefore desirable to provide techniques to detect and compensate for the drift in parameters of a communication channel due to changing system conditions like these.

SUMMARY

The present invention provides a system and method for setting a parameter of a communication channel, which allows for optimizing the parameter while efficiently tracking drift of properties of the channel. A communication channel includes a first component having a transmitter coupled to a normal signal source, and a second component having a receiver coupled to a normal signal destination. A communication link couples the first and second components. The communication system provides for setting an operation value for the parameter, which for example can include executing an exhaustive calibration sequence at initialization of the channel. The method and system of the present invention provides for tracking drift in the parameter by monitoring a signal on another channel that is characterized by drift relative to a reference, such as a reference clock, in amounts that correlate with drift in the parameter of communication channel relative to the reference, and to update, or indicate the need for updating, the operation value of the parameter in response to the monitoring function. The signal being monitored is provided in various ways according to embodiments of the invention, including by signals on channels that emulate the channel being monitored, by signals on another channel within a single communication bus, by signals on a channel that loops back to a component on the channel that generates it, or by signals that otherwise exhibit characteristics that correlate, whether causally or not, to the parameter being tracked on the channel.

In embodiments of the invention, the parameter is updated by executing a calibration sequence on the communication link. In other embodiments, the updating includes adjusting the operation value of the parameter as a function of the drift determined by monitoring the signal.

According to embodiments of the present invention, the parameter of the communication channel is the phase of one of the receive and transmit clocks for an input/output driver, where the phase establishes a sample timing point for a receiver, or a drive timing point for a transmitter. The monitoring function operates by comparing the phase of the signal with the phase of a reference clock. Because the signal being monitored drifts in phase by amounts that correlate with the drift in phase of the sample timing point or drive timing point of communication channel being adjusted, the relative phase changes can be relied upon to indicate the need for updating the operation value of the parameter.

The signal being monitored in order to track drift in various embodiments comprises a data transmission signal, for example, on another communication channel. The monitoring step, in some embodiments, includes detecting transitions in the data transmission, and comparing the detected transitions with transitions in the reference clock. In other embodiments, the monitored signal comprises a control signal used for controlling communications in the communication channel, such as a data strobe between the components using the communication channel. In yet other embodiments, the monitored signal comprises a signal taken from outside the communication channel that nonetheless can be relied upon for emulating drift in the parameter.

The invention is also embodied by an apparatus coupled with a driver for a communication channel. The apparatus includes memory to store the operation value of the parameter, logic to monitor a signal which has a characteristic that correlates with the parameter of the communication channel to track drift in the characteristic, and logic to indicate the need to update, or to update directly, the operation value based on the drift in the monitored signal.

An embodiment of the present invention comprises an interface for a communication bus. The interface includes a plurality of input/output drivers coupled with respective bidirectional links in the communication bus. The input/output drivers include a transmitter responsive to a transmit clock, which drives a signal on a corresponding link in the communication bus. Also, a receiver is included in the input/output driver, that is responsive to a receive clock. The receiver samples a signal on the corresponding link. A transmit clock generator and a receive clock generator are coupled respectively to the transmitter and the receiver, and to a reference clock. At least one of the transmit clock generator and the receive clock generator is adjustable in response to a phase control signal. The interface also includes a drift tracking circuit. The drift tracking circuit is coupled to a link carrying a monitored signal that is characterized by drift that correlates with drift in the communication bus. The drift tracking circuit includes a tracking clock generator that is coupled to the reference clock and generates a tracking clock. A phase detector is included in the drift tracking circuit, to track changes in phase between the tracking clock and transitions in the monitored signal. Logic in the drift tracking circuit monitors the changes in phase, and issues an indication that the phase control signal be updated to account for the changes in phase.

The receive clock generator and the transmit clock generator in some embodiments of the interface comprise a phase locked loop, coupled to the reference clock, which produces a set of output clocks that are some multiple of the input reference frequency. A mixer is coupled with the phase locked loop, and is responsive to the phase control signal to generate the transmit or receive clock, having an adjustable phase as indicated by the phase control signal. Also, memory coupled with the clock generator stores the phase control signal.

In yet other embodiments of the interface, calibration logic is included to determine the operation value of the phase control signal. The calibration logic is responsive to the indication from the drift tracking circuit, to re-calibrate the operation value of the phase control signal. Also, the calibration logic may be executed to initially set the operation value of the phase control signal, for example at startup of the interface.

Accordingly, the present invention provides for drift tracking based on data collected during normal operation of a communication channel, without relying upon periodic calibration sequences that remove the communication channel from its mission function. Thus, the present invention tracks drift of parameters of the communication channel, including mesochronous channels, while preserving overall throughput and latency characteristics of the link. The present invention is particularly suited to high speed communication channels, including chip-to-chip channels with links across traces on printed circuit boards, or other board level media, operating with system clocks over 100 MegaHertz, including clocks with frequencies in the range of 400 MegaHertz, and higher.

Other aspects and advantages of the present invention can be seen on review of the drawings, the detailed description and the claims, which follow.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified diagram of two components interconnected by a communication channel, with drift tracking according to an embodiment of the present invention.

FIG. 2 is a simplified diagram of two components interconnected by a communication channel, with drift tracking according to another embodiment of the present invention.

FIG. 3 illustrates an embodiment of an interface to a communication channel, including input/output drivers and a drift tracking circuit according to the present invention.

FIG. 4 is a flow chart of operation of calibration logic used to set the operation value of the parameter of the communication channel in some embodiments of the present invention.

FIG. 5 illustrates an embodiment of an interface to a communication channel between a memory controller and a memory, such as a DRAM, including input/output drivers and a drift tracking circuit according to the present invention with data strobe monitoring.

FIG. 6 illustrates an embodiment of an interface to a communication channel between first and second chips, including input/output drivers and a drift tracking circuit according to the present invention including a loop back channel carrying a monitored signal.

DETAILED DESCRIPTION

A detailed description of embodiments of the present invention is provided with reference to the Figures.

FIG. 1 shows two components 10, 11 connected with an interconnection medium, referred to as link 12. Component 10 has a transmitter circuit 13 which drives symbols (bits) on link 12 in response to timing events on the internal CLKT signal 14. This series of bits forms signal DATAT. Component 11 has a receiver circuit 15 which samples symbols (bits) on link 12 in response to timing events on the internal CLKR signal 16. The DATAT forms signal DATAR at the opposite end of the link, which is sampled by the receiver. The transmit clock CLKT is generated by a transmit clock generator 40. The receive clock CLKR is generated by a receive clock generator 49 that is responsive to a phase control signal stored in a phase calibration register 48. A communication channel between the components 10 and 11 comprises the transmitter circuit 13, the link 12 and the receiver circuit 15. Delay block 50 in the link 12 represents delay encountered in the communication channel, which may drift during operation due to changing operational and environmental conditions in the components and in the link. For successful data transmission, the relative phases of the transmit clock CLKT and the receive clock CLKR must account for the delay represented by block 50. As the delay represented by block 50 drifts, the relative phases of the transmit clock CLKT and the receive clock CLKR must also be adjusted in order to maintain successful data transmission.

A tracking circuit 45 on component 11 is coupled to a monitored signal MS on line 46. Line 46 represents a channel, which has a characteristic, such as the drift in phase, which correlates with drift in delay 50 in the communication channel across link 12. The tracking circuit 45 generates an indication on line 47 used to control the value in the phase register 48, which is coupled to the receive clock generator 49. The indication is generated when the drift in the monitored signal on line 46 reaches a predetermined level in some embodiments. In one embodiment, the tracking circuit 45 generates the indication on line 47 on each phase change of the monitored signal, and adjusts the phase control signal in phase register 48 in response to a function of the phase changes indicated by the drift tracking circuit 45. In another alternative, the indication on line 47 is provided to calibration resources, such as special purpose logic, a host processor executing calibration routines, or other resources, which execute a calibration sequence for the link 12 to update the phase control signal in phase register 48.

In the embodiment of FIG. 1, the tracking circuit is on the receive side of the channel. In alternative embodiments, the tracking circuit is implemented on the transmit side of the channel, or on both the transmit and the receive sides of the channel. FIG. 2 illustrates an embodiment with drift tracking for a parameter of a transmitter in a communication channel between first and second components. Thus, FIG. 2 shows two components 10, 11 connected with an interconnection medium, referred to as link 12. Component 10 has a transmitter circuit 13 which drives symbols (bits) on link 12 in response to timing events on the internal CLKT signal 14. This series of bits forms signal DATAT. Component 11 has a receiver circuit 15 which samples symbols (bits) on link 12 in response to timing events on the internal CLKR signal 16. This series of bits forms signal DATAR. The transmit clock CLKT is generated by a transmit clock generator 40. The receive clock CLKR is generated by a receive clock generator 49. A communication channel between the components 10 and 11 comprises the transmitter circuit 13, the link 12 and the receiver circuit 15. Delay block 50 in the link 12 represents delay encountered in the communication channel, which may drift during operation due to changing operational and environmental conditions in the components and in the link. For successful data transmission, the relative timing for the communication channel is determined by the phase of the transmit clock CLKT and the phase of the receive clock CLKR. The difference in phase between the two clocks is absorbed by the delay represented by delay block 50.

A tracking circuit 45 on component 10 is coupled to a monitored signal MS on line 46. Line 46 represents a channel, which has a characteristic such as the drift in phase that correlates with drift of a parameter in the communication channel across link 12. The tracking circuit 45 generates an indication on line 47 used to control the transmit timing, which is coupled to the transmitter circuit 13. The indication is generated when the drift in the monitored signal on line 46 reaches a predetermined level in some embodiments.

FIG. 3 illustrates a system including a first integrated circuit 200 and a second integrated circuit 201 which communicate via a communication bus, generally 202. In the system of FIG. 3, a clock generator 250 is included, which provides a reference clock to the master CTM on the first integrated circuit 200. The first integrated circuit 200, in this example provides the reference clock from the master CFM to the second integrated circuit 201.

The communication bus includes a plurality of communication channels that comprises a transmitter, a communication link and a receiver. For example, the communication bus includes a plurality of bi-directional data links represented by line 203, a plurality of bi-directional address links represented by line 204, and a plurality of bi-directional control links represented by line 205. In other embodiments, the communication bus comprises multidrop links, uni-directional links, or combinations of multidrop, uni-directional and bi-directional links.

The first integrated circuit 200 and the second integrated circuit 201 include interface circuits supporting the communication bus. For simplicity, an interface circuit for one of the bi-directional data links 203 on the communication bus is shown.

The interface includes an input/output driver 210. The input/output driver includes a transmitter 211 and a receiver 212. The transmitter 211 accepts input from a normal path used for the mission function of the first integrated circuit 200 and drives the corresponding data on the communication link 203. A transmit clock CLKT is coupled to the transmitter 211 and sets a drive timing point. A receiver (not shown) on the second integrated circuit 201 samples the data from the line 203 in response to a corresponding receive clock. The drive timing point on the transmitter 211 is set by calibration logic 213, using for example a calibration routine as described below, so that the receiver on the second integrated circuit 201 is able to capture correct data.

Likewise, a receive clock CLKR is coupled to the receiver 212, and sets a sample timing point. The sample timing point is set by the calibration logic 213, in cooperation with a transmitter (not shown) on the second integrated circuit 201 in exemplary embodiments.

The transmit clock and the receive clock are produced by clock generator circuits. The clock generator circuits include a phase locked loop 214, which produces a set of reference clocks, and supplies those clocks to mixers 215, 216, 217 in the interface. The mixer 215 is used for generating the transmit clock in response to a mixer control signal stored in register 218. The mixer 216 is used for generating the receive clock in response to a mixer control signal stored in register 219. In the illustrated embodiment, registers 218 and 219 are managed by the calibration logic 213. In alternative embodiments, the registers could be managed by higher-layer circuits which implement the equivalent of the calibration logic 213 in software.

The mixer 217 is used for generating a tracking clock TR-CLK, which is also based on the reference clock CTM so that tracking relative to the tracking clock TR-CLK is, thereby, tracking relative to the reference clock CTM in some embodiments. The tracking clock TR-CLK is supplied to a phase detector 228, which also receives as input a monitored signal from another channel 204 on the communication bus. In this example, the monitored signal is supplied on line 229 from the input to the receiver 227. The phase detector 228 includes a transition detector, so that transitions in the monitored signal and transitions in the tracking clock are utilized for detecting shifts in phase of the monitored signal. The output of the phase detector 228 is supplied to a counter 230, which counts up and counts down to follow shifts in phase. The output of the counter 230 is used as a phase control signal for the mixer 217. Monitor logic 231 is coupled to the counter 230, and issues indications to the calibration logic 213, in response to changes in the counter value.

Input/output drivers, like driver 210, are coupled to each of the links in the communication bus. The tracking circuit including the mixer 217, the phase detector 228, and the counter 230, can be repeated for each input/output driver, or shared amongst sets of input/output drivers on the communication bus, or shared among all the links on the bus, depending on level of accuracy needed, the environment of operation for the particular implementation, and other trade-offs.

The calibration logic 213 may include additional registers, such as registers storing edge values for use during calibration routines as described below, in addition to registers storing the operation value for each of the clocks. The registers 218 and 219 are loaded by the calibration logic 213 depending on the mode of operation.

Accordingly, the system shown in FIG. 3 performs timing calibration during normal communication between integrated circuits in the system. The calibration of read and write clocks in the integrated circuits may be executed without affecting the normal communication between the integrated circuits. In the embodiment shown, the system includes a clock-data recovery loop which tracks drift by locking itself to an arriving monitored signal, such as read data sent from another integrated circuit device. Based on this clock-data recovery loop, timing correction of the sample clock used to receive data, and the drive timing clock used to transmit data, may be derived.

According to the present invention, long-term variances in system timing parameters, such as time-of-flight of a data signal, can be detected. Based on this detection, various timing calibration adjustment processes can be initiated. For example, the present invention can be designed so that changes in phase in the tracking circuit of more than a threshold, for example changes of 10 percent, from the state recorded during an initial calibration, result in generation of an indication to the calibration logic that a re-calibration sequence should be executed. Alternatively, when the phase of the tracking clock is shifted by a threshold amount, a compensating adjustment could be made to the phase control values for the input/output driver being monitored.

FIG. 4 shows calibration steps executed by calibration logic in one exemplary embodiment of the invention, which is suitable for use in combination with the drift tracking circuit described above, in some embodiments to set up initial operation values of the parameters, to periodically update the operation values in response to indications from the drift tracking circuits, or to otherwise supplement the drift tracking circuit.

-   (Step 301) On initialization, or upon an indication from a drift     tracking circuit that a drift measurement is due, suspend transmit     and receive operations that are in progress. -   (Step 302) Change the sample point of the receiver component from     the normal operation value (used for normal operations) to a value     used for calibration operations, such as an edge value representing     an edge of a timing window for successful reception. It may be     necessary to impose a settling delay at this step to allow the new     drive point to become stable. -   (Step 303) Decouple the transmitter from the normal data path. -   (Step 304) Create and transmit a pattern onto the “link.” Note that     the drive point of the transmitter is fixed relative to the     reference clock of the system and is not adjusted. -   (Step 305) The pattern set is received in the receive component     using the calibration value of the sample point. -   (Step 306) The received pattern set is compared to an expected     pattern set produced in the receive component. The two pattern sets     will either match or not match. As a result of this comparison (and     possibly other previous comparisons) a pass or fail determination     will be made. -   (Step 307) Adjust the sample point operation value in the receiver     component as a result of the pass or fail determination. -   (Step 308) Repeat steps 302-307 to locate edge values in phase for     the sample point outside of which the calibration pattern is not     successfully received. -   (Step 309) Change the sample point of the receiver to a new     operation value (used for normal operations). It may be necessary to     impose a settling delay at this step to allow the new drive point to     become stable. -   (Step 310) Reselect the “normal path” input of the transmitter. -   (Step 311) Resume normal transmit and receive operations.

FIG. 5 illustrates an embodiment of the present invention for a communication channel 203 between a first chip 600 which may be a memory controller as labeled in the drawing, and a second chip 601 which may be a memory like a double data rate DDR dynamic random access memory DRAM as labeled in the drawing, that provides a DQS data strobe signal during read operations. The reference numerals in FIG. 5 are the same as those for components of FIG. 3, with the exception of items relating to the data strobe channel 602. Other components of FIG. 5 are not described again, as they correspond with like numbered components of FIG. 3. In one advantageous embodiment of FIG. 5, the monitored signal for the drift tracking circuit comprises the DQS data strobe control signal produced by the DDR DRAM during read operations (or other data strobe signals or other control signals as appropriate for a particular implementation), and received in data strobe I/O 610 by receiver 603 and provided to read control logic (not shown). The monitor logic 231 is configured to monitor the received read strobe, the transmitted read strobe, or both. When it is configured to track drift from both transmitted read strobes and received read strobes, the logic includes mode control to switch between the two modes. In these embodiments, the monitor function can use shared resources to track drift in the local transmitter, and drift in the combination of the transmission line and the remote transmitter. Of course the shared resource embodiment can be applied to other types of monitored signals.

Also, the data strobe I/O has calibrated transmit and receive clocks, generated by mixers 604 and 606 respectively, in response to operation value parameters stored in registers 605 and 607.

FIG. 6 illustrates an embodiment of the present invention for a communication channel 203 between a first chip 200 and a second chip 201, where the monitored signal is provided on a loop back link 650. The reference numerals in FIG. 6 are the same as those for components of FIG. 3, with the exception of the loop back channel including the link 650, the monitored signal transmitter 651, the pattern source 653, and the monitored signal receiver 652. Other components of FIG. 6 are not described again, as they correspond with like numbered components of FIG. 3. In the embodiment shown, a pattern source 653 is coupled to the transmitter 651. The transmitter transmits the pattern, and the receiver receives the looped back pattern. The monitor logic 231 tracks changes in the phase of the looped back pattern. The pattern source 653 can be replaced by any available signal on the chip 200, such as the CTM reference clock, that has transition density or other characteristics making it suitable for use in tracking drift.

The link 650 is implemented in some implementations using the same transmission line design as used for the links 203 of the communication channels being adjusted. For example, the chip-to-chip bus is implemented using printed circuit board traces optimized for frequency, length, amplitude of the signal and other parameters. The loop back channel 650 uses the same or similar printed circuit board trace technology, and has a length of for example one-half the average length of the traces forming the channels in the bus, so that the round trip time of flight is close to the time of flight for signals on the bus.

In one advantageous embodiment of FIG. 6, the loop back channel comprises a transmitter 651 and a link 650 which emulate behavior of the transmitter 211 and link 203 of the communication channel being adjusted. Thus, the looped back signal being monitored from the receiver 652 tracks the behavior of a loop back transmitter 651 on the same chip as the transmitter 211 being adjusted. In other embodiments described above, the transmitter driving the monitored signal is located on a remote chip. Also, in embodiments like that of FIG. 6, the step 301 shown in FIG. 3 may not be necessary during period calibration operations, if the periodic calibration operations are performed using the loop back channel.

In the embodiments described above, a communication channel is provided having an additional phase mixer, which generates a tracking clock, coupled to a phase detector. The phase detector circuit compares the alignment between the tracking clock and a monitored signal. The monitored signal can consist of either a looped back clock signal, a signal from the memory chip on the opposite end of the communication channel, one of the data bits transmitted on the channel, one of the control bits or address bits transmitted on the channel, or any other signal which correlates with the drift on the communication channel. The tracking circuit, which consists basically of a clock-data recovery control block for systems tracking timing parameters, processes the output of the phase detector and affects adjustments in a counter plus register circuit which controls the phase mixer that generates the tracking clock. A monitor circuit periodically compares the current value stored in the register, with previous values, and generates outputs based on that comparison. This output can be used simply to indicate that a re-calibration is required, or for real-time adjustment of the operation value of the parameter being monitored.

According to the present invention, communication systems are provided that track drift, while conserving resources of the communication channels being calibrated. The invention reduces the hardware and storage requirements needed for calibration, reduces the impact on bandwidth and throughput across the communication channel, and maintains accuracy of the operation values of the parameters being calibrated while using less of the resources of the communication channel. Also, the techniques of the present invention improve overall latency characteristics of the communication channel in changing operating conditions.

A method for calibrating a communication channel, including a first component, a second component, and a communication link coupling the first and second components, the communication channel having a parameter with an operation value is described, comprising: setting the operation value of the parameter of the communication channel in one of the first and second components; distributing a reference clock signal to the first and second components; monitoring, using monitor circuits in one of the first and second components, a signal from a medium outside the communication channel, the signal having a characteristic which drifts relative to the reference clock signal at said monitor circuits by amounts that correlate with drift of the parameter of the communication channel, to track the amounts of drift in the characteristic; and in response to the monitoring, updating the operation value based on the amounts of drift in the characteristic of the signal

In embodiments of such method, said updating includes executing a calibration sequence.

In embodiments of such method, said updating includes adjusting the operation value as a function of the amounts of drift.

In embodiments of such method, monitoring includes comparing a phase of the reference clock signal with a phase of said signal.

In embodiments of such method, said signal comprises a data signal transmission in another communication channel between the first and second components, and said monitoring includes recovering a clock from the data transmission, and comparing said clock with the reference clock signal.

In embodiments of such method, said signal comprises a control signal transmission in another communication channel between the first and second components.

In embodiments of such method, the parameter comprises a drive timing point for a transmitter on the first component.

In embodiments of such method, the monitoring circuits are on the first component, and the parameter comprises a drive timing point for a transmitter on the first component.

In embodiments of such method, the monitoring circuits are on the first component, and the parameter comprises a sample timing point for a receiver on the second component.

In embodiments of such method, the monitoring circuits are on the first component, and the monitored signal is transmitted by the second component.

In embodiments of such method, the monitoring circuits are on the first component, and the monitored signal is transmitted by the first component.

In embodiments of such method, the monitoring circuits are configured for monitoring first signals transmitted by the first component and second signals by the second component, and including logic to select the monitored signal from one of the first signals and second signals

An apparatus coupled with a communication channel, the channel including a first component, a second component, and a communication link coupling the first and second components, the communication channel having a parameter with an operation value is described, comprising: memory in one of the first and second components to store the operation value of the parameter of the communication channel; a reference clock; monitor logic in one of the first and second components to monitor a signal outside the communication channel, that has a characteristic which drifts relative to the reference clock by amounts that correlate with drift of the parameter of the communication channel relative to the reference clock, to track the amounts of drift in the characteristic; and logic, responsive to the monitoring, to update the operation value based on the amounts of drift.

In embodiments of such apparatus, said logic to update includes logic to execute a calibration sequence.

In embodiments of such apparatus, said logic to update includes logic to adjust the operation value as a function of the drift.

In embodiments of such apparatus, said monitor logic includes a phase comparator to compare a phase of the reference clock with a phase of the signal.

In embodiments of such apparatus, said signal comprises a data signal transmission in another communication channel, and said logic to monitor includes a data/clock recovery circuit to recover a clock from the data transmission in the other communication channel, and to compare said clock with a reference clock signal.

In embodiments of such apparatus, said signal comprises a control signal transmission in the communication channel.

In embodiments of such apparatus, the parameter comprises a drive timing point for the transmitter on the first component.

In embodiments of such apparatus, the parameter comprises a sample timing point for the receiver on the second component.

In embodiments of such apparatus, logic is included to execute a calibration sequence to determine the operation value, and store the operation value in said memory.

In embodiments of such apparatus, said communication channel comprises one of a plurality of communication channels of a communication bus, and said signal is carried on a communication channel that comprises one of plurality of communication channels in the communication bus.

In embodiments of such apparatus, said communication channel comprises one of a plurality of communication channels of a communication bus, and said signal is carried on a communication channel that comprises another one of plurality of communication channels in the communication bus, and the signal comprises a data strobe.

In embodiments of such apparatus, said communication channel comprises one of a plurality of communication channels of a communication bus, and the signal is carried on a communication channel that comprises another one of plurality of communication channels in the communication bus, and the signal comprises a timing reference signal generated by one of the first and second components on the communication channel.

In embodiments of such apparatus, the monitoring logic is on the first component, and the monitored signal is transmitted by the second component.

In embodiments of such apparatus, the monitoring logic is on the first component, and the monitored signal is transmitted by the first component.

In embodiments of such apparatus, the monitoring logic is configured for monitoring first signals transmitted by the first component and second signals by the second component; and including logic is configured to select the monitored signal from one of the first signals and second signals.

An interface for a communication bus is described, comprising: a plurality of input/output drivers coupled with respective bi-directional links in the communication bus, the input/output drivers including a transmitter, responsive to a transmit clock, which drives a signal on a corresponding link in the communication bus; a receiver, responsive to a receive clock, which samples a signal on the corresponding link; a transmit clock generator coupled to the transmitter and to a reference clock having a frequency over 100 MegaHertz, which generates the transmit clock; a receive clock generator coupled to the receiver and to the reference clock, which generates the receive clock, wherein at least one of the transmit clock generator and the receive clock generator is adjustable in response to a phase control signal; and a drift tracking circuit, coupled to a link carrying a monitored signal that is characterized by drift relative to the reference clock that correlates with drift of parameters in the communication bus relative to the reference clock, the drift tracking circuit including a phase detector to track changes in phase between the reference clock and the monitored signal, and logic to monitor the changes in phase, and issue an indication that the phase control signal, for said at least one of the transmit clock generator and the receive clock generator, be updated to account for the changes in phase.

In embodiments of such interface, said link carrying a monitored signal comprises one of the links in the communication bus and the monitored signal comprises a data strobe on the link.

In embodiments of such interface, said link carrying a monitored signal comprises one of the links in the communication bus and the monitored signal comprises a timing reference signal generated by a device coupled to the link.

In embodiments of such interface, said link carrying a monitored signal comprises one of the bi-directional links in the communication bus, and the monitored signal comprises a data signal on the bi-directional link.

In embodiments of such interface, said link carrying a monitored signal comprises one of the bi-directional links in the communication bus, and the monitored signal comprises a control signal on the bi-directional link.

In embodiments of such interface, said link carrying a monitored signal comprises a link emulating a bi-directional link in the communication bus.

In embodiments of such interface, said receive clock generator comprises a phase-locked loop, coupled to the reference clock, and producing a set of frequency divided output clocks, a mixer, responsive to the phase control signal and the set of frequency divided output clocks, to generate the receive clock, and memory storing a value of the phase control signal.

In embodiments of such interface, said transmit clock generator comprises a phase-locked loop, coupled to the reference clock, and producing a set of output clocks, a mixer, responsive to the phase control signal and the set of output clocks, to generate the transmit clock, and memory storing a value of the phase control signal.

In embodiments of such interface, calibration logic is included to determine a value of the phase control signal, and wherein said calibration logic is responsive to said indication to re-calibrate the value of the phase control signal

In embodiments of such interface, logic responsive to said indication to adjust a value of said phase control signal based on said detected changes in phase.

In embodiments of such interface, the phase detector detects the phase between the reference clock and the monitored signal in response to a phase difference between one of the receive and transmit clocks, and the monitored signal.

In embodiments of such interface, a tracking clock generator is included coupled to the phase detector and to the reference clock which generates a tracking clock, and wherein the phase detector detects the phase between the reference clock and the monitored signal in response to a phase difference between one of the tracking clock and the monitored signal.

In embodiments of such interface, memory is included to store a transmit phase control signal for the transmit clock generator and to store a receive phase control signal for the receive clock generator.

In embodiments of such interface, the monitored signal is transmitted by a remote component.

In embodiments of such interface, the monitored signal is transmitted at the interface.

In embodiments of such interface, the drift tracking circuit is configured for monitoring first signals transmitted by the interface and second signals transmitted by a remote component, and including logic to select the monitored signal from one of the first signals and second signals.

A method for calibrating a communication channel, including a first component, a second component, and a communication link coupling the first and second components, the communication channel having a parameter with an operation value determined by calibration is described, comprising: setting the operation value of the parameter of the communication channel in one of the first and second components; supplying from the first component, a monitor signal on a channel which loops back to the first component; monitoring, using monitor circuits in the first components, a signal from a medium outside the communication channel, the signal having a characteristic which drifts relative to the reference clock signal at said monitor circuits by amounts that correlate with drift of the parameter of the communication channel, to track the amounts of drift in the characteristic; and in response to the monitoring, updating the operation value based on the amounts of drift in the characteristic of the signal.

A method for calibrating a communication channel, including a first component, a second component, and a communication link coupling the first and second components, the communication channel having a drive timing point with an operation value determined by calibration is described, comprising: setting the operation value of the drive timing point of the communication channel; monitoring a signal from a medium outside the communication channel, the signal having a characteristic which drifts by amounts that correlate with drift of the drive timing point of the communication channel, to track the amounts of drift in the characteristic; and in response to the monitoring, updating the operation value based on the amounts of drift in the characteristic of the signal.

A method for calibrating a communication channel, including a first component, a second component, and a communication link coupling the first and second components, the communication channel having a drive timing point with an operation value determined by calibration is described, comprising: setting the operation values of the drive timing point and sample timing point of the communication channel; monitoring a signal from a medium outside the communication channel, the signal having a characteristic which drifts by amounts that correlate with drift of the drive timing point and sample timing point of the communication channel, to track the amounts of drift in the characteristic; and in response to the monitoring, updating the operation values of the drive timing point and sample timing point based on the amounts of drift in the characteristic of the signal.

While the present invention is disclosed by reference to the preferred embodiments and examples detailed above, it is to be understood that these examples are intended in an illustrative rather than in a limiting sense. It is contemplated that modifications and combinations will readily occur to those skilled in the art, which modifications and combinations will be within the spirit of the invention and the scope of the following claims. 

What is claimed is:
 1. A method of operation in a memory controller chip component, the method, comprising: transmitting a reference clock signal to an external memory chip device; during a calibration operation, receiving a data pattern from the external memory chip device; setting a sample point timing of a receiver circuit based on the data pattern received during the calibration operation; receiving a data strobe signal from the external memory chip device; determining an amount of drift between the reference clock signal and the received data strobe signal; and updating the sample point timing of the receiver based on the amount of drift.
 2. The method of claim 1, further comprising transmitting a read command to the memory chip device, and receiving data from the memory chip device in connection with the read command, wherein receiving the data is performed by the receiver using the sample point timing.
 3. The method of claim 1, further comprising, during the calibration operation, setting the sample timing point of the receiver to a calibration value, wherein the calibration value corresponds to a first edge value of a first edge of a timing window.
 4. The method of claim 1, further comprising: generating a set of internal reference clock signals; and phase mixing the set of internal reference clock signals to generate a receive clock signal having the sample point timing.
 5. The method of claim 1, wherein the external memory chip device is a dynamic random access memory (DRAM) device and the memory controller chip component is a DRAM memory controller chip component.
 6. The method of claim 1, further comprising: calibrating an initial phase to transmit write data in connection with a write operation; generating a transmit clock signal to time transmission of the write data; and outputting the write data in connection with a write operation.
 7. The method of claim 1, further comprising: determining whether the amount of drift exceeds a threshold; and wherein updating the sample timing point of the receiver based on the amount of drift occurs in response to determining that the amount of drift exceeds the threshold.
 8. A memory controller chip component comprising: a transmitter circuit to transmit a reference clock signal to an external memory chip device; a first receiver circuit to receive, during a calibration operation, a data pattern from the external memory chip device, wherein a sample point timing of a first receiver circuit is set based on the data pattern received during the calibration operation; a second receiver circuit to receive a data strobe signal from the external memory chip device; and a tracking circuit to determine an amount of drift between the reference clock signal and the received data strobe signal, the tracking circuit to update the sample point timing of the first receiver circuit based on the amount of drift.
 9. The memory controller chip component of claim 8, further comprising a circuit to transmit a read command to the memory chip device, and wherein the first receiver circuit is to receive, using the sample point timing, data from the memory chip device in connection with the read command.
 10. The memory controller chip component of claim 9, wherein the tracking circuit is to set the sample point timing of the receiver to a calibration value, wherein the calibration value corresponds to a first edge value of a first edge of a timing window corresponding to the data.
 11. The memory controller chip component of claim 8, further comprising: a circuit to generate a set of internal reference clock signals; and a phase mixer to receive the set of internal reference clock signals and generate a receive clock signal having the sample point timing.
 12. The memory controller chip component of claim 8, wherein the external memory chip device is a dynamic random access memory (DRAM) device and the memory controller chip component is a DRAM memory controller chip component.
 13. The memory controller chip component of claim 8, further comprising: a circuit to calibrate an initial phase of an internal clock used to transmit write data in connection with a write operation; and a transmitter circuit to output the write data in connection with the write operation.
 14. The memory controller chip component of claim 8, wherein the tracking circuit is further to determine whether the amount of drift between the reference clock signal and the received data strobe signal exceeds a threshold, and update the sample point timing of the first receiver circuit in response to the amount of drift exceeding the threshold.
 15. A chip component comprising: a transmitter circuit to transmit a reference clock signal to an external chip device; a first receiver circuit to receive, during a calibration operation, a first signal from the external chip device, wherein a sample point timing of a first receiver circuit is set based on the first signal received during the calibration operation; and a tracking circuit to determine an amount of drift between the reference clock signal and a second signal received from the external chip device, the tracking circuit to update the sample point timing of the first receiver circuit based on the amount of drift.
 16. The chip component of claim 15, wherein the first signal is a first data pattern.
 17. The chip component of claim 15, wherein the second signal is a read strobe signal.
 18. The chip component of claim 15, further comprising a command interface to transmit a read command, wherein the first receiver is to sample data in connection with the read command using the sample point timing.
 19. The chip component of claim 15, wherein the chip component is a memory controller chip component and the external chip device is a memory device.
 20. The chip component of claim 19, wherein the memory controller chip component is a dynamic access memory (DRAM) controller and the memory device is a DRAM device. 